Returns the ReadOnlyCollection<SequencingObjectiveMapNodeReader> containing the <imsss:mapInfo> nodes inside this <imsss:objective> or <imsss:primaryObjective>.
Parent Type: SequencingObjectiveNodeReader
Namespace: Microsoft.LearningComponents.Manifest
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public ReadOnlyCollection<SequencingObjectiveMapNodeReader> Mappings { get; } |
In ManifestReaderSettings.FixScormRequirementViolations=false, an InvalidPackageException is thrown if there are illegal <imsss:mapInfo> nodes in the list. For instance, if there are more than one <imsss:mapInfo> nodes containing an attribute value of "true" for the "readSatisfiedStatus" attribute, this is in illegal condition.
In ManifestReaderSettings.FixScormRequirementViolations=true, a warning is added to the log and only the first instance of a <imsss:mapInfo> containing a value of "true" for a specific attribute is parsed. Any illegal <imsss:mapInfo> nodes are omitted and ignored.
Iterate through all <mapInfo> nodes in a manifest's sequencing collection.
| C# |
foreach(SequencingNodeReader sequencing in manifest.SequencingCollection.Values)
{
foreach (SequencingObjectiveNodeReader objective in sequencing.Objectives.Values)
{
foreach (SequencingObjectiveMapNodeReader map in objective.Mappings)
{
// Use the SequencingObjectiveMapNodeReader
}
}
}
|